/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package local;

/**
 *
 * @author xarckane
 */
public class Historique {
    public enum Type {
    MEM, CPU, PROCESS 
    
    
}
    private String Serveur;
    private Type type;
    private Object object;
    private String dateTime;
    private int id;

    public Historique(Type type, Object object) {
        this.type = type;
        this.object = object;
    }

    public Historique() {
    }

    public Historique(String Serveur, Type type, String dateTime,int id) {
        this.Serveur = Serveur;
        this.type=type;
        this.id=id;
        this.dateTime = dateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getServeur() {
        return Serveur;
    }

    public void setServeur(String Serveur) {
        this.Serveur = Serveur;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }
    
    
    
}
